Speed up the active nodes route.

It is much faster create a lookup hash based off a single elasticsearch
query.