Implement and use Keys.to_string