byte type = Tuple.getType(value);
if( type==Tuple.RESULT_WRAPPER_TYPE )
{
// result coming from Combiner
ResultWrapper wrapper = (ResultWrapper)value;
Array wrapped = (Array)wrapper.getCombinedResult();
for( Object elem:wrapped )
{
array.add(elem);
}
}