subclassed HttpResponse with JSONResponse, added view for snippet_list and snippet_detail