fix setText append bug when saving; XmlObjects with empty names are nwo treated correctly as being on the same level as their parents for saving