Parse response and return to caller