Subfolders specified in the path of write_json_file() will now be created if they do not already exist.