def dict_formatter(view, value):
 return json.dumps(value, ensure_ascii=False)

def dict_formatter ( view , value ) : return json . dumps ( value , ensure_ascii = False )
removes unicode entities when displaying dict as string .