Safe response body parsing