Adding @XmlTransient to solve jax rs object graph cycle exception