Changed json view to produce templatized JSON