pub fn serialize<T: Serialize, S: Signer<Signature>>( t: &T, signer: &S ) -> Result<String, JwsError>