class_docstr: This class holds the common method for configs.
  
  A config object can be instanciated with keyword arguments and
  updated on call with keyword arguments.
docstr: Export a JSON serializable dictionary of the config
docstr_tok: ["Export","a","JSON","serializable","dictionary","of","the","config"]
code: def to_dict(self):
      """Export a JSON serializable dictionary of the config"""
      config = {}
      for attr in dir(self):
          if not attr.startswith("__"):
              value = getattr(self, attr)
              if hasattr(value, "to_dict"):
                  config[attr] = value.to_dict()
              elif not hasattr(value, "__call__"):
                  config[attr] = value
      return config
  
imports: from copy import deepcopy
  from pygal import formatters
  from pygal.interpolate import INTERPOLATIONS
  from pygal.style import DefaultStyle, Style
label_desc: Use image node_id 4 for calling the BaseConfig obj's underlying member method code with example usage: obj.to_dict() and returns: config