Bugfix: Content negotiation has to be done before route
Bugfix: Content negotiation has to be done before route

We have to know the content type we should return before routing is done since Route can throw errors.
phapi/phapi-configuration