add ids to json model. add local storage to keep track of env's consecutive ping fails