Fulfilled previous TODO.

Queries the search URI to obtain the actual JSON API URI to read from.
Makes the build light more flexible because it doesn't need to be
recompiled everytime the Jenkins view changes.