chore(rest-connector): pull response parsing inside connector

related to #CAM-2564