Write a working MessageAdapter, for Gson deserilization.

currently only used in GsonDeEnCodingTest.