code: def to_json(self):
      return {
          "total_time_limit": self._total_time_limit,
          "model_time_limit": self._model_time_limit,
          "steps": self._steps,
          "algorithms": self._algorithms,
          "spend": self._spend,
          "is_hill_climbing": self._is_hill_climbing,
          "is_stacking": self._is_stacking,
      }
  
file_path: mljar-supervised/supervised/tuner/time_controller.py
imports: import json
  import logging
  import time
  import numpy
  import pandas
  from supervised.utils.config import LOG_LEVEL
label_desc: Use image node_id 2 for calling the TimeController obj's underlying member method code with example usage: obj.to_json() and returns: dict