Basic multiline list parsing in Swift - incomplete