Performance improvements, remove Spring dependencies for JAX-RS integration