move debug page to jinja2 templating, dumper refactor, copy as curl link