Added support for getting array segments for improved incremental fetching of large arrays