code: def to_json(self):
      dict1 = {}
      d1 = {
          "Time": self.mTimeInfo.to_json(),
          "Signal": self.mOriginalSignal,
          "Training_Signal_Length": self.mModelFrame.shape[0],
      }
      dict1["Dataset"] = d1
      lTransformation = self.mTransformation.mFormula
      d2 = {
          "Best_Decomposition": self.mOutName,
          "Signal_Transoformation": lTransformation,
          "Trend": self.mTrend.mFormula,
          "Cycle": self.mCycle.mFormula,
          "AR_Model": self.mAR.mFormula,
      }
      dict1["Model"] = d2
      d3 = {
          "MAPE": str(self.mForecastPerf.mMAPE),
          "MASE": str(self.mForecastPerf.mMASE),
          "MAE": str(self.mForecastPerf.mL1),
          "RMSE": str(self.mForecastPerf.mL2),
          "COMPLEXITY": str(self.getComplexity()),
      }
      dict1["Model_Performance"] = d3
      return dict1
  
imports: import pandas
  import numpy
  from .None import PredictionIntervals
  from .None import Plots
  from .None import Perf
  from .None import Utils
label_desc: Use image node_id 14 for calling the cTimeSeriesModel obj's underlying member method code with example usage: obj.to_json() and returns: dict1