private function createArrayByPath($path)
    {
        $keys = explode('.', $path);
        $val = true;
        $localArray = [];
        for ($i=count($keys)-1; $i>=0; $i--) {
            $localArray = [$keys[$i]=>$val];
            $val = $localArray;
        }
        return $localArray;
    }