Adds test coverage for the escape wrapper function
Replaces parser.js module for JSONStream npm module