found a solution to the RestTemplate GZIP problem, now working and tests are passing