@Override
  public MessageSerializer getSerializer() {
    return serializer;
  }
The JSON implementation of the MessageFactory. Constructs JSON implementations of each
message-type.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageEncoder.java