Attempt to fix converting Uint8Array to base64 str in index.js, and converting base64 str to uint8* in native