generate failed.json file, and consume new manifest format