Fix nodeinfo serialization