`handlers.rs:531` allocates a `String` on every call to `normalize_message_item` for a type comparison: ```rust map.get("type") != Some(&Value::String("message".to_owned())) ``` **Fix:** ```rust map.get("type").and_then(Value::as_str) != Some("message") ```
handlers.rs:531allocates aStringon every call tonormalize_message_itemfor a type comparison:Fix: