Remove JAX-RS dependent code