format_labels function

Format the label in a simpler format