def mk_body(**kwargs):
 return json.dumps(kwargs, ensure_ascii=False)

def mk_body ( ** kwargs ) : return json . dumps ( kwargs , ensure_ascii = False )
convenience function creates and dumps dictionary to string .