function getModuleInfo (container, id) {
    let response = container.__onGetModuleInfo(id);

    return {
        id: id,
        code: response.code || null,
        isEntry: response.isEntry || false,
        isExternal: response.isExternal || false,
        importers: response.importers || [],
        importedIds: response.importedIds || [],
        importedIdResolutions: response.importedIdResolutions || [],
        meta: container.__meta[id] || {},
        dynamicImporters: response.dynamicImporters || [],
        dynamicallyImportedIds: response.dynamicallyImportedIds || [],
        dynamicallyImportedIdResolutions: response.dynamicallyImportedIdResolutions || [],
        ast: response.ast || null,
        hasModuleSideEffects: response.hasModuleSideEffects || false,
        syntheticNamedExports: response.syntheticNamedExports || false,
        implicitlyLoadedAfterOneOf: response.implicitlyLoadedAfterOneOf || [],
        implicitlyLoadedBefore: response.implicitlyLoadedBefore || [],
        hasDefaultExport: response.hasDefaultExport,
        isIncluded: response.isIncluded || false,
        moduleSideEffects: response.moduleSideEffects || true
    }
}
@param {PluginContainer} container 
@param {string} id 
@return {RollupModuleInfo}