response->withBody(new Stream(json_encode($result, JSON_UNESCAPED_UNICODE))); } }