add json content-negotiation to error responses