Moved to xml2js and data2xml for SOAP serialization and deserialization. Some refactoring.