Obtain Service and Host labels from REST API

At the time I did a workaround to get all labels, by getting them as json from the web gui interface using the dev tools of a browser. (-;

@gstolz suggested a faster solution using live query instead: