jersey: update gzip encoder to work with Jersey 2.x #780 - improve formatting