Use return value for CURL::Encode/Decode