reading from csv and converting to json