It's not used in many places, this shouldn't have much impact on
performance, and I guess it's a fair assumption that something called
json.safe_loads would return a deepcopy. That's complementary to the
previous commit and would also separately fix the issues referenced
there.