add a json response class, using django's one if 1.7+ is installed.