I think we should decode JSON error content, rather than force the client to do it.
Trigger this by content type?