Update xml.js

Remove namespace from nodeName while processing.
If node is just text, don't keep it as object, make it real string propertie.