Changed the response strategy factory to create the required object based on the content type from the response