Change error content-type to application/json

Previous it was application/problem+json, but browsers do not work well
with this, the error message cannot be seen, not even in developer
tools.