Move Seq.toList call to function return instead of having to convert token stream when passing to Parser.parse