private function recursiveUTF8Decode($result)
    {
        if (is_array($result)) {
            foreach ($result as &$value) {
                $value = $this->recursiveUTF8Decode($value);
            }
            return $result;
        } else {
            return utf8_decode($result);
        }
    }