I think you could set only what you need in config. for example. 
config.monitoring.disabled = true; and not rewrite all config object maybe ?