Prepare RPCNode for serialization/deserialization