json.extract! collection, :id, :name, :created_at, :updated_at
json.url collection_url(collection, format: :json)
