Add workaround for RESTEasy 2.x/3.x incompatibility