Adds converter for returned category strings to type constants