XML to JSON, JSON to XML transformer based on https://github.com/abdmob/x2js, was modified for npm usage