import json unfixed = "files": ["texture.pak", "level.dat"], "reason": "hash mismatch"
To read it:
with open("unfixed-info.bin", "wb") as f: f.write(json.dumps(unfixed).encode())