_sendResponse method moved from api controller to apihHelper component