Issue #2931436 by amateescu, dillix, Berdir, DuneBL, plach: field_purge_batch expects an array of objects but instead gets an array of arrays