added code to convert csv to json