public function fetchJSON($url, $followRedirects = true, $username = null, $password = null, $headers = array())
    {
        $contents = $this->fetchURL($url, $followRedirects, $username, $password, $headers);
        return JSONUtils::decode($contents,true);
    }