Add support for index.json file
build failed json file