Since PR #89, when `FlattenInterface` was changed to `structpb.NewStruct`, all numbers are converted to float64 according to the Protobuf specification. `float64` converts to `int64`.