rename ip key to host in device specification