Changed how arrays are generated to make it work with Marketo