Replace session in NodeState with container id. Make container id final and fallback to UUID when container id is not found.