Updated Generating of pregenerate.json