Fixing the db.json file