CFY-780 fixed rest api responses