Convert UTF-8 Buffer/Uint8Array to string, using either Buffer.toString, TextDecoder or plain javascript