Can you share an example response of the original XML?
Cut and paste using the preformatted text option in the forum editor.
Can you also share a full example of what xml2Json was producing?
There are tons of options for that library\method. I’ll have a go at replicating what you currently have.