Modified views to provide JSON / XML responses.

kaseres.accepts:  checks what format is desired
kaseres.respones: creates body of HttpResponse in proper format