Updated save and load to use XStream.