Should use n['ipaddress'] instead of node['ipaddress']