Title basically says it all :-)

The JObject you create on line 2884 is missing the ["Cooldown"] = Cooldown entry.