Bug fixes in literal list and dictionary parsing