added ability to retrieve a dictonary of enum values and names from an enum type