Traceback (most recent call last):
  File "/tmp/chain.py", line 4, in load
    return json.loads(p)
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
               ^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/chain.py", line 8, in <module>
    load("{x")
  File "/tmp/chain.py", line 6, in load
    raise RuntimeError("bad config") from None if False else e
RuntimeError: bad config

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/chain.py", line 10, in <module>
    raise KeyError("fallback")
KeyError: 'fallback'
