Port MultiStringReader to Scala