Created `json.csv()` to convert a JSON string to a CSV string

Passing the right variable