add support for lists in multi-valued vars