+fix example in doc
+rename toXML to stringify