generate resourceinfo.json