public function getReleases($moduleName, $coreVersion)
    {
        $request = $this->httpClient->get(['{module_name}/{core_version}', 
            ['module_name' => $moduleName, 'core_version' => $coreVersion]]);
        
        if ($request->getStatusCode() != 200) {
            throw new \Exception(sprintf('Status code was not OK. %d returned instead.', $request->getStatusCode()));
        }
        
        $response   = (string) $request->getBody();
        return $this->xmlToArray($response);
    }