Validates a message a surface sent to the daemon.
The untrusted input (already JSON-parsed).
The parse result.
Validates a message a surface sent to the daemon.