Fix protobuf serde errors