Filter out unnecessary stuff and leave only NodeID