Add support to array of arrays, because previously only supported array of objects.