Output a json file by converting csv file.