Now can generate valid NeXML
See test_serializing for examples
Several cases still need dealing with, including xsi:type on meta