protected function subdivide($sections, $value)
    {
        if (empty($sections)) {
            return $value;
        }

        $section = array_shift($sections);
        return [
            $section => $this->subdivide($sections, $value),
        ];
    }