private function automate($viewVars)
    {
        $rawDataObj = new \stdClass();
        foreach ($viewVars as $key => $var) {
            $rawDataObj->$key = $var;
            $viewVars[$key]   = $this->escape($var);
        }
        $viewVars['raws'] = $rawDataObj;

        return $viewVars;
    }