Use field.from_string in parse_xml
Allow option fields to be parsed by parse_xml
Export pretty-printed JSON in XML for Fields
Some refactoring