Started work on generating taskResults dynamically from taskInstance object.