Crude method to convert simple objects (array with key/value pairs) to CSV format