Fix ds_list MI command output.

The values added to the MI tree must be either persistent, either duplicated into the tree.
Closes issue #243, reported by Ovidiu Sas.

(cherry picked from commit dd788ff8118c0f0251463b81d50ddecea75262e5)