Fix bug with serialized name not matching node name

@sinemetu1