fix parsing of container return types, i.e. lists