json.array!(@matches) do |match| json.extract! match, :id json.url match_url(match, format: :json) end