pub fn save_json( settings: Rc<RefCell<SettingsFile>>, config: Rc<RefCell<SConfig>>, ) -> Result<(), Box<dyn Error>>