show casing how to persist with XStream