Saves the timezone map to disk in JSON format.
The JSON-convertible resource to save.
Filename of the file to write to.
Saves the timezone map to disk in JSON format.