Fix var names
Parse JSON file, fix and write (erase) JSON file.