Stream a document array as JSON