Fixed wrong typehint in documentation for XmlEncoder