design data structure to save general fitting parameters as dict with obj