Implement support for nested arrays