Migrate parser to stream interface.
Don't decode strings.