Added support for parsing lists and tuples