Handling Web API Exceptions with ProblemDetails middleware