Allow enums to be formatted as String or Integer. Default to String. #25