public function setDataReturnFormat()
    {
        if ($this->returnArrayFormat) {
            return;
        }

        if ($this->data) {
            foreach ($this->data as $key => $item) {
                $this->data[$key] = json_decode(json_encode($item));
            }
        }
    }