added jax-rs (jersey) support