transform stream to tokenize html