jaxrs: fix Content-Type in ExceptionMapperBase

Make sure to return application/json when serializing the exception, otherwise
this can confuse our client libraries.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>