Add support for arrays of objects.