add enum support for strings