implemented functions to display openphact API response template as DAG