public function getSourceImageContents(Image $client, $hash, $organizationName, $stackName = null, $format = 'jpg')
    {
        if (!$stackName) {
            return $client->getSourceImageContents($hash, $organizationName);
        }
        $uri = $client->getSourceImageUri($hash, $stackName, $format, null, $organizationName);
        $resp = (new Client())->get($uri);

        return $resp->getBody()->getContents();
    }