Fixing json files