An easy way to get your spices back to their original condition is to place a food-grade silica gel packet inside the bottle ...
Those tiny little packs of dessicant that come in your new pack of shoes or your vitamins have many uses around your home.