add function to return string representations of enumerated types