make task result exportable tailor formatting of result for each task (as they have various levels of nestedness) eg https://stackoverflow.com/questions/21006574/flask-jinja2-iterating-over-nested-dictionaries