Java encoder for Tamper (https://github.com/NYTimes/tamper).