update input file to use JSON format