added support to painMeasure representation
enabling generic case output: array instead of single var