Converts 2D array of JS objects into CSV formatted string.
Migrated from folder: shopifyUtil/objectToCsv