for (const [path, value] of Object.entries(configValue)) {
const booleanValue = asBoolean(value);
// if value can be mapped to a boolean, and the clean
// path is not empty, add it to the map
if ((booleanValue !== undefined) && cleanPath) {
paths[cleanPath] = booleanValue;
}
}
return paths;