Handle nested arrays.