Convert RioParserImpl to stream statements through wherever possible