Using Jax-Rs exposing POJO as Webservice