workflows: dict support for task results

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>