switched from jaxb to xstream for xml encoding