def objdict_to_dict(objdict):
    """ Convert an objdict structure into a dict structure

    Args:
        obj (objdict): the objdict to convert

    Returns:
        dict: the objdict as standard dictionnary
    """
    d = {}
    if objdict:
        for k, v in objdict.items():
            if type(v) == dict:
                d[k] = objdict_to_dict(v)
            else:
                d[k] = v
    return d