How to implement content negotiation in ASP.NET Core 2.0