pub fn convert_key_formats(voting_key: String) -> Result<String, Box<dyn Error>>
convert keys from ca to 0x and vice versa