When I try to read, update and write to the same json file it\'s not actually overwriting the old file. Can anyone give me a solution on how to fix this, I would be very gra