Workaround a bug in resteasy regarding exception mappers