abstracted parsing a list. Converted most list parsers to use the new abstraction