Migrate node config to new format