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