domain objects and helper classes for BPMS workflow REST interaction