reduce calls to .clone() and .to_string()