Serialization and de-serialization program using XStream