JSON Parser Parses a text file to give JSON and throws error in case of invalid input. Usage node index.js data.txt