Yep, I went through the process of replacing all our XML objects into json ones about 6 years ago now. Smaller files and much easier to read, manipulate store and transfer.
And while I personally quite liked XSLT, javascript is a much more flexible and reliable option.
And while I personally quite liked XSLT, javascript is a much more flexible and reliable option.