websocket: refactor command 'list' to send 1 'listentry'-message per device