A simple PHP script to convert JSON data to CSV