def make_safe(data):
 return salt.utils.simple_types_filter(object_to_dict(data))

def make_safe ( data ) : return salt . utils . simple_types_filter ( object_to_dict ( data ) )
turn object data into something serializable .