Elegant modeling for riak in node.js