private function denormalizeMetadata(array $data) {
        $result = [];

        foreach ($data as $key => $value) {
            $keys = explode($this->metadataNamespaceSeparator, $key);
            $tmp = &$result;

            foreach ($keys as $i => $key) {
                if (!isset($tmp[$key])) {
                    $tmp[$key] = null;
                }

                $tmp = &$tmp[$key];
            }

            $tmp = $value;
        }

        return $result;
    }
private function denormalizeMetadata(array $data) {
        $result = [];

        foreach ($data as $key => $value) {
            $keys = explode($this->metadataNamespaceSeparator, $key);
            $tmp = &$result;

            foreach ($keys as $i => $key) {
                if (!isset($tmp[$key])) {
                    $tmp[$key] = null;
                }

                $tmp = &$tmp[$key];
            }

            $tmp = $value;
        }

        return $result;
    }
private function denormalizeMetadata ( array $ data ) { $ result = [ ] ; foreach ( $ data as $ key => $ value ) { $ keys = explode ( $ this -> metadataNamespaceSeparator , $ key ) ; $ tmp = & $ result ; foreach ( $ keys as $ i => $ key ) { if ( ! isset ( $ tmp [ $ key ] ) ) { $ tmp [ $ key ] = null ; } $ tmp = & $ tmp [ $ key ] ; } $ tmp = $ value ; } return $ result ; }
De-normalize metadata

@param array $data Metadata
@return array
De - normalize metadata