def _expand_item(item):
 ret = {}
 ret.update(item.__dict__)
 return ret

def _expand_item ( item ) : ret = { } ret . update ( item . __dict__ ) return ret
convert the libcloud object into something more serializable .