Since you said _.merge() will merge recursively, how can you unset a setting? On the original code, only settings.extensions was merged in two levels.