Fixing encoding issue with response content