With this code, it returns a node object of a xml document\[code\]def rootNode = new XmlParser().parseText(text)\[/code\]How can you parse this object into a JSON object (perhaps using JsonBuilder) ?I did try to pass by a String object (XmlUtil.serialize(rootNode)) but it didn't work out.Is there anything that I could use or do I need to create something of my own ?Thanks in advance