fix template throw test
quick and dirty json rendering