We now read and write from the .json file much quicker