changed way response channel output is gotten in http response