Eliminates None entries from the features of the endpoint dict.

def _clear_dict(endpoint_props):
    '''
    Eliminates None entries from the features of the endpoint dict.
    '''
    return dict(
        (prop_name, prop_val)
        for prop_name, prop_val in six.iteritems(endpoint_props)
        if prop_val is not None
    )