HPCC-9568 Return variable length strings for CASE/MAP

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>