I know we eventually need a better way for users to control what they get back when they ask for the nodes collection; we should decide what that mechanism is - adding a URL parameter like 'full=1' to get the whole object or something more fine grained that allows asking for specific attributes ('/nodes?expand=hostname,ip_address,facts') ?

Rather than change the generic view_object_hash, this should go into its own method, like 'view_node_in_index(node)' that is called from the handler for /api/collections/nodes