change the restful model to use the model from jaxb