There's been quite a bit of discussion lately in this forum on the tools available in IRIS for using both XML and JSON, and debate on cross-conversion between the two formats.
Node.js is an open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side.