Add support for {} mapping with WebSocket