In a dry pan add the pickle spices and roast them till light golden and toasted. Remove them to a plate and let it cool. Add them to blender and make into a fine powder. Set aside till use. Keep the blender ready, because you want it to grind the onions.