adding json responses