public function cleanArrayKeysRecursive($dirty)
    {
        if (is_array($dirty instanceof Collection ? $dirty->toArray() : $dirty)) {
            return collect($dirty)->mapWithKeys(function ($item, $key) {
                return [
                    $this->file->cleanKey($key) => $this->cleanArrayKeysRecursive($item),
                ];
            });
        }

        return $dirty;
    }