fdo#86664 VSD import: handle metadata

(cherry picked from commit 9b61cf4a70b9c3023d035a1b0f7cc1488dd55e22)
(cherry picked from commit 386014bb5ee1fb611bbc00c37c04cdf191a833b7)

Change-Id: Icec212a93df10b212a9ae614b5c1ced6bf25ff7f