Enable index.json in local folder and made get resource asyn