Changed layout of JSON file and how it is referenced from gui