remove unneeded base64 encoding for plaintext values