Add ListAdapter

Improve list parsing. Fix parsing lists with non-null tail.