simplify NodeId type (shortened nodeids only during encoding)