made changes to store json files from previous days and also fixed a small bug where floats were treated as strings