[PATCH v2 13/41] dm: core: Add a way to obtain a string list