Tag handling in #to_xml