make the HttpException more immutable
we expect application/json for the MIME data