handle device UUIDs according to backend

Change-Id: I06110590624ac3e8813f5b2c46e8e05c5ad0bd01
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>