HPCC-12046 Change stats to be stored as a value array

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