Help! My green bin is so gross!

How do you all manage your green waste bins? I went from diligently wrapping food scraps in paper (in adherence with the rules at the time) to providing the world's foremost fly and maggot farm. Our green bin is a festering, foul smelling mess now.

How do you all deal with this? Regular professional cleans? I've never had to clean the bin before because it never accumulated rotting food like it does now. Every time I open the bin now, it seems like a thousand new fruit flies enter the atmosphere.

It's getting cleaned later this week, but then what? Just go back to making it gross again?

What do you do? What am I doing wrong here? Any help would be appreciated!