use jax-rs annotations instead of self defined annotations