public static function toArray($cookies, $options = [])
    {
        $data = [];
        foreach ($cookies as $name => $cookie) {
            $data[$name][] = $cookie->data();
        }
        return $data;
    }