How to customize data output to a Google spreadsheet