add output_html
cache tp_self, so we dont keep duplicate values
move jsonify results into wrapper