support rewrite href host part in application/json response