def _expand_address(addy):
 ret = {}
 ret.update(addy.__dict__)
 ret['extra']['zone'] = addy.region.name
 return ret

def _expand_address ( addy ) : ret = { } ret . update ( addy . __dict__ ) ret [ 'extra' ] [ 'zone' ] = addy . region . name return ret
convert the libcloud gceaddress object into something more serializable .