def json_dumps(obj,       <EOL>**kwargs   <EOL>):  
if six.PY2:<EOL><INDENT>kwargs['<STR_LIT>'] = '<STR_LIT:utf-8>'<EOL><DEDENT>return json.dumps(convert_to_dict(obj), **kwargs)<EOL>
Force use of unicode.