Add Event Registry/REST types

It is defined in types.go... ? This is just putting it into a map so a selector can work. I can write something with reflection that does this automatically if you really want :)