Xml serialization utility class