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

Passing the right variable
Merge pull request #305 from avoidwork/edge

API change