I would do `json.dump(object, f)` because we don't need to have the python conversion to a string in this case