I want to receive data from ION to IMS application with JSON format (document), the data sent is in XML.</code><code class="js plain">
this is my data flow

i receive this below data (From ION to Ims APP):
"document": {
"value": "<?xml version="1.0" encoding="UTF-8"?><SyncSecurityUserMaster xmlns:xsd="<a style="color:#808080;" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a style="color:#808080;" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>">.......",
"encoding": "NONE",
"characterSet": "UTF-8"
},
my expected data is
"document": {
"value": <=== with JSON FORMAT
So, I tried to add an XML2json (Script XmlToJsonLatest from mingle inforcloudsuite) in data flow, but the problem is the transformed data is as following

i tried to test the document in the Script XmlToJsonLatest

I want to see, am I on the right track? do we have another method allows us to have the document with json format on my application part?
thanks