This converts an enum value to String When the Object passed is not enum (or doesn't have one '.') it returns its String representation
enum