'Convenience method for client.get which sets the accept type to json'

def get_json(self, path, data=None, follow=False, **extra):

    return self.get(path, (data or {}), follow, HTTP_ACCEPT='application/json', **extra)
