add function to return only raw json response