Some rare endpoints in Tuleap do not "speak JSON" but plain text. It would be nice to be able to query them with fetch-result. In order to do this, the lib must not try to parse the response as JSON in case of error. It will try to parse it as plain text instead.