before cleanup, jersey 2.7 and jaxrs 2.0