Handle arrays of custom field values

Custom fields (specifically the "checkbox" type) can take multiple values for a single item; this hack allows the customfield values to be specified as a string, or as an array. Arrays are converted to multiple value entries for a single customfield item.