JSON response for listing all the objects