Earlier quoted context omitted.
As much as I think it's annoying I think no trailing commas enforces good coding hygiene and basically forces you to use a real encoder rather than as hoc string manipulations.
This is such a bad take
print("{")
for elem in list:
print('"key": "value",')
print("}")
seems like immediate worth.