def METHOD_NAME(self, response):
    if is_text_payload(response) and response['body']['string']:
        response['body']['string'] = self._replace_string_keys(response['body']['string'])
    return response