add ensure_ascii = False on each json.dumps to avoid unicode errors