Making report in html using jinja2