fn extract_required_string(payload: &Value, field: &str) -> Option<String>
Extract a required string from a JSON payload field.