Parse response from WS