replace non-alphanum characters before checking for numeric keys in Format::to_xml()
Merge pull request #1457 from benharold/fix_xml_node_names

replace non-alphanum characters before checking for numeric keys