fix: use more generic node export function
fix: Switch node support
fix: use enum
fix: restore id pointers fake user state