RegNode serialization/deserialization works