Improved response body parsing