XStream implementation of OpenMRS serialization