Change method from XStream to JAXB Marshaler