protected function setJSONContent(array $content)
    {
        if ($this->deleteJsonKeys) {
            $content = $this->deleteArrayKeys($content);
        }
        $content = json_encode($content, JSON_UNESCAPED_UNICODE);
        $this->response->setContentTypeJson();
        $this->response->setContent($content);
    }