Fix a bug with fetchinfo serialization