utility command to fix an index from a keys.json file