Add null verification in json node