PATCHing a merge field (e.g. lists/{id}/merge-fields/{mergeid} with options.choices) via drewm/mailchimp-api failed with 400 Invalid Resource: [field] => options.choices, [message] => Schema describes array, object found instead. The payload showed {"options":{"choices":{"0":"Aaa","1":"Bbb"}}} - the array of choices had been encoded as a JSON object with numeric keys. The wrapper passed JSONFORCEOBJECT to jsonencode, which turns every PHP array into a JSON object, breaking every API field that expects a real array.