Use a custom formatter to redefine the XML root.