Remove base64 encoding
Revert "Remove base64 encoding"

This reverts commit d932f41f6b18bd67f416a3da46442fa7fb2e45d2.