adding code to convert csv to json and json data