Parsing lists, WIP
Adapted for latest rust changes