Added parsing of JSON files from command line