src/vs/workbench/contrib/terminal/common/environmentVariableShared.ts/deserializeEnvironmentVariableCollections
export function deserializeEnvironmentVariableCollections(
	serializedCollection: ISerializableEnvironmentVariableCollections
): Map<string, IEnvironmentVariableCollection> {
	return new Map<string, IEnvironmentVariableCollection>(serializedCollection.map(e => {
		return [e[0], { map: deserializeEnvironmentVariableCollection(e[1]) }];
	}));
}