Ammonia is created by the action of the aging enzymes on protein within the leaf lamina. That is entirely normal. Within a sealed jar, that ammonia has nowhere to go. If you periodically open the jar, and allow the ammonia to evaporate, it will dissipate. Plan B is to not sniff the jar contents, then open them to air once the kilning is complete.
Bob