protected function doHttpsPostReturnJSONArray($hostname, $path, $fields)
    {
        $result = $this->doHttpsPost($hostname, $path, $fields);

        if ($result) {
            $result = json_decode($result);
        } else {
            error_log("AYAH::doHttpsPostGetJSON: Post to https://$hostname$path returned no result.");
            $result = array();
        }

        return $result;
    }