Added setting to use Enum#toString, javadocs.

closes #2448