minimal to_plaintext-version for JS-dabelle