def reduceDictionary(data: dict):
    """
    This function reduce a dictionary in the case of one only element dict.
    Eg. a = {"key": value} -> value
    """
    if len(data) == 1:
        return data[list(data.keys())[0]]
    else:
        return data