pub fn to_agent_card_json(card: &AgentCard) -> Result<String, Error>
Serialize an Agent Card to canonical JSON.