I need help migrating datapack to 1.21.4

I'm trying to migrate saturated datapack by bro to 1.21.4 urgently because I'm in middle of uppgrading my server and this is the only datapack that is holding me down. There are several errors I got in the console, I think all of them are about the carvers property in biome definition jsons. Here is one of them: [21:45:06] [ServerMain/ERROR]: Carver: Failed to parse either. First: Not a string: {"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}; Second: Failed to parse either. First: Not a json array: {"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}; Second: Input does not contain a key [type]: MapLike[{"air":["minecraft:cave","minecraft:cave_extra_underground","minecraft:canyon"]}] This is the current value for carvers of the above error: json "carvers": { "air": [ "minecraft:cave", "minecraft:cave_extra_underground", "minecraft:canyon" ] }, Can anyone help me rewrite this to 1.21.4 format?
Continue to help post