@Override
    public void serialize(Message message) throws IOException {
      Any packedMessage = Any.pack(message);
      builder.addStateMessage(packedMessage);
    }
A serializer for our Procedures. Instead of the previous serializer, it uses the stateMessage
list to store the internal state of the Procedures.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureUtil.java