def format_acl_v2(acl_dict):
 return json.dumps(acl_dict, ensure_ascii=True, separators=(',', ':'), sort_keys=True)

def format_acl_v2 ( acl_dict ) : return json . dumps ( acl_dict , ensure_ascii = True , separators = ( ',' , ':' ) , sort_keys = True )
returns a version-2 swift acl json string .