Fix String-based NodeId decoding