JSF Beans to REST