Refactor ctnr/views to use json.dumps for html generation