def strip_empty_optional_fields(object_dict):
    """ We do not need to add fields that contain None to the response,
    so we strip those fields out of the response. To do this, we iterate over
    the fields in the input dictionary and check that the value isn't, what we
    consider, empty. If a field has a value, add that field and value to the
    output dictionary.
    :param object_dict: Input dictionary containing possible empty fields.
    :return: Output dictionary containing only fields that have values.
    """
    return {k: v for k, v in object_dict.items() if v is not None}