pub fn user_json(user: &User) -> Value
The user as a script sees it: identity and groups, never the verifier.