Convert a class type to be able to display string