public function toArray($asArrayObject = false)
    {
        $data = [];
        foreach ($this->data as $k => $v) {
            $data[$k] = $this->isInstanceOf($v, $this) ? $v->toArray() : $v;
        }

        return $asArrayObject ? $this->arr($data) : $data;
    }