I made this simple XML to JSON parser for nodeJs for test purposes. It is yet working, but won't be the tool of your choice if you have something more complicated to do
to use it, you must install it via npm
$ npm install node-xml2jsonparser
after that, simply require it:
xml2json = require('xml2json');
allows you to parse an xml file to a JSON object
allows you to parse an xml string to a JSON object
better testing and implementing functionality