protected function table(array $headers, array $data)
    {
        $dataset = [];

        foreach (array_values($data) as $value) {
            $dataset[] = array_combine($headers, $value);
        }

        return Utils\format_items('table', $dataset, $headers);
    }