-Fixed directly serializing XmlElements