Fix converting to string in JsHttp