code: def render_config(config: Config, indent: str = "") -> str:
      new_indent = indent + "    "
      return "".join([
              "{\n",
              f'{new_indent}"type": "{config.typ3}",\n' if config.typ3 else '',
              "".join(_render(item, new_indent) for item in config.items),
              indent,
              "}\n"
      ])