Outputs a canonical XML document, extends the XmlSerializer interface from XmlPull V1 API
XmlSerializer