could use a .data method for Dom that would support strings, arrays and hashes eg: dom.find('body').data(‘key’,somehash)