unicode fix for print and json.dump