The currently used JS interop is restrictive and does not allow for passing structured data between the client and dwds. Switch to the new package:web to allow for new features.