Shows how to implement a transcoder to compress JSON.  It's really just a modification on the default included Serializing Transcoder.