migrated to jax-rs 2.0