protected function listingElement($key, string $type, $value): string
    {
        if (\is_array($value)) {
            return $this->nestedListing($key, $type, $value);
        } else {
            return '<li>'.$this->entities($value).'</li>';
        }
    }