make ProtoBuilder serializable