json.extract! group, :id, :created_at, :updated_at json.url group_url(group, format: :json)