Recursively flatten nested JSON data to a 2 dimensional CSV.

I was missing the option to handle nested JSON data. This iterates through the data recursively and flattens all the values into a simple array, which can be then written as CSV. This code also handles normal (not nested) JSONs, and therefore I updated the default action in `json2csv.php` as well.