name_value/to_xml: a poor man's xml serializing visitor implemented