working on rewriting the json backup...again