automatically handle keyed arrays

or even, mixed arrays