Solutions for streamToList, and streamMap