def _set_data(object_query, data):
  """Helper function for setting basic data in object_query"""
  object_query["count"] = len(data)
  object_query["total"] = len(data)
  object_query["last_modified"] = None
  object_query["values"] = data
  return object_query