# @fatherbushido 2020-01-18
import json
import glob
for file in glob.glob("simulation/data/**/*.json", recursive=True):
with open(file, 'r') as f:
j = json.load(f)
with open(file, 'w') as f:
f.write(json.dumps(j, indent="\t", ensure_ascii=False))
f.write("\n")
Here is the script used: