When dumping json, always add the argument indent=4. It makes the file human-readable.