Reading and writing to JSON file is fully functional now