public function get($name = null) {
        $data = $this->data;
        if ($name) {
            $names = explode('.', $name);
            if ($names) {
                foreach ($names as $name) {
                    if (is_array($data) && array_key_exists($name, $data)) {
                        $data = $data[$name];
                    } else {
                        return null;
                    }
                }
            }
        }
        return $data;
    }