jax-rs client replaced with spring RestTemplate