mongo prototype will now resolve all references automatically