Switching to text mode for API requests (not using jq); debian compatibility