PArsing the response, so that i sends Hash/String rather than only string to be parsed