Reaction of a diketone What is the product when ammonium bicarbonate reacts with hexa-2,5-dione?

I thought of formation of 2 moles of NH3, water and carbon dioxide. And then the usual addition followed by elimination to the carbonyl group. But is it the case? Or will some cyclic compound result?
Ketones react with NH3.

R2C=O -> R2C=NH. Hexa-2,5-dione has two carbonyl groups so it leads to cyclic compound. Check Paal–Knorr synthesis in Wikipedia to know the answer.