Instead of using the `Debug` implementation inside the `Display` implementation this pr changes it to display only the name of the format.