def obj_to_dict(obj, exclude=()):
    """Dumps an object into the dictionary excluding received fields.

    :param obj: An object to dumps with the __dict__ attribute defined
    :type obj: object
    :param exclude: Exclusion fields where each field is a string
    :type exclude: iterable
    :return: Dictionary with excluded fields
    :rtype: dict
    """
    return {k: v for k, v in obj.__dict__.items() if k not in exclude}