add base64 convertion support