This slide shows how was the wire is bent. You can pull it around quite tight and then push it straight down the past the green cap. You can attach a pull tie to keep it in place and the pull tie helps when you dip it in the plasic.

You do have to be a bit careful that you don't pull the pins over, so you might want to practice a few times before you use the bulbs you want to keep.