fix the format of index.json