bugfix for resteasy-springMVC