Json escape any strings written to the config file