That looks like a GU10 lamp. If it has two 'mushroom' contacts that twist to lock, it's GU10. If two slim pins, it's usually an MR16 although there are other MR sizes. GU10 lamps run on direct mains, MR16 are low voltage, usually 12v.
Basically, the MR16 fittings you took out are preferable to...