XmlSerialization snippet