specify responses as using json type