Encoding Kotlin objects to JS objects in Kotlin/WASM answers the same use-cases as in Kotlin/JS. Of course, as `dynamic` does not exist in Kotlin/WASM, the correct names would be `encodeToJsAny` and `decodeFromJsAny`.