added json support to multi-val, fixed multi-val support for non-tsds type