parse the nodeType from the correct location in packet