Return maps instead of slices.

It's a common use case to conduct membership tests on the set of all
relays.  Returning a map makes this easier and faster than returning a
slice.