if respond to to_xml, use that