function normalizeModules(virtualConfigs, scheme) {
	return Object.keys(virtualConfigs).reduce((pre, id) => {
		pre[toVid(id, scheme)] = normalizeModule(virtualConfigs[id]);
		return pre;
	}, /** @type {{[key: string]: VirtualModuleConfig}} */ ({}));
}
Normalizes all virtual modules with the given scheme
@param {VirtualModules} virtualConfigs The virtual modules to normalize
@param {string} scheme The URL scheme to use
@returns {{[key: string]: VirtualModuleConfig}} The normalized virtual modules