Generate CSV file for download

Options
We have an option in the endpoint to download the result as a CSV file.  How do I convert the JSON output into a CSV file for download?

Comments