write in the json file the info so the server can be turned on/off without issue