refactor index.json