fix for issue #68. Fix the case where requests are in soap format and response are in json format.