Add an option to not output the root attribute.