Cast the stream output data chunks to JSON