try another approach for json streaming