Transform the array from Ideone into a Python dictionary.

def _transform_to_dict(result):
        """
        Transform the array from Ideone into a Python dictionary.
        """
        result_dict = {}
        property_list = result.item
        for item in property_list:
            result_dict[item.key[0]] = item.value[0]
        return result_dict