fix jsonreader encoding issue