WebSocketModule: Simplified and fixed the json structure of attribute update message.