HPCC-12409 Collect object arrays in to unified target object

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-12409 Some changes following code review

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>