Added response for JSON requests