json: preserve utf-8 encoding on parse