How do you repurpose those dried herb/spice containers?

What do you all do about repurposing jars that have held strongly scented things? Like pasta sauce with oregano, curry mixtures, etc. Generally you can clean out the jars - but the lids still retain the scent.

Just today I transferred my new batch of green cardomom pods to a larger jar - and now that jar smells SO strongly of cardamom, when i was hoping to move my maras pepper to it. And not just the lid, but the actual glass jar itself smells like cardamom - a delightful smell but how would you go about neutralizing it?