Workaround NUL character js-interop issue

Have JS decode Base64 and GZIP inflate records