working version with org.simpleframework.xml instead of xstream