Checks if the minidom_meta_element can be represented as a
            key/value pair in a object.

        Returns (key, value) ready for JSON serialization, OR
                `None, None` if the element can not be treated as simple pair.
        If `None` is returned, then more literal translation of the
            object may be required.

def _transform_meta_key_value(self, minidom_meta_element):
        """Checks if the minidom_meta_element can be represented as a
            key/value pair in a object.

        Returns (key, value) ready for JSON serialization, OR
                `None, None` if the element can not be treated as simple pair.
        If `None` is returned, then more literal translation of the
            object may be required.
        """
        xt = minidom_meta_element.getAttribute('xsi:type')
        if _LITERAL_META_PAT.match(xt):
            return self._literal_transform_meta_key_value(minidom_meta_element)
        elif _RESOURCE_META_PAT.match(xt):
            return self._resource_transform_meta_key_value(minidom_meta_element)
        else:
            _LOG.debug('xsi:type attribute "%s" not LiteralMeta or ResourceMeta', xt)
            return None, None