Fix issue #2.

Temporary hack supplying the decoding that is missing in Guice.

Needed in Gerrit 2.9.1; will have to re-check when 2.10 comes out.