Fix MessageAdapter GsonDeEnCodingTest

GsonDeEnCodingTest was using a MessageAdapter which didn't have a
serialize method and instead serialized all static attributes. This
lead to problems with classes defining serialVersionUID if a parent
class had already done so.
Fix serialization of BlockMessage