changes in parse_json_lines.js (it takes the json from the stdin)