replace the use of castor with jaxb