The dictionary containing the apps is cached during collection and reset
        at every `check()` call.

def get_apps_json(self, url, timeout, auth, acs_url, ssl_verify, tags, group):
        """
        The dictionary containing the apps is cached during collection and reset
        at every `check()` call.
        """
        if self.apps_response is not None:
            return self.apps_response

        # Marathon apps
        if group is None:
            # embed=apps.counts is not a required parameter but will be in the future:
            # http://mesosphere.github.io/marathon/1.4/docs/rest-api.html#get-v2apps
            marathon_path = urljoin(url, "v2/apps?embed=apps.counts")
        else:
            marathon_path = urljoin(
                url, "v2/groups/{}?embed=group.groups".format(group) + "&embed=group.apps&embed=group.apps.counts"
            )

        self.apps_response = self.get_json(marathon_path, timeout, auth, acs_url, ssl_verify, tags)
        return self.apps_response