Added JavaScript library for mapping from JSON to XML and XML to JSON.
FOut.write and writeLine return FOut, so they can be chained.
readLine uses buffered version of read line from TSIn.