add example and unit test for incremental streamed array parsing