properly get node hosts from config json