BUG: segfault from json.dumps in Python 3.10
The segfault is from `pandas/tests/io/json/test_pandas::TestPandasContainer::test_tz_is_utc` and  `pandas/tests/io/json/test_pandas::TestPandasContainer::test_tz_range_is_utc`