Fixing JAX-RS Endpoints