Remove silly string conversion for TimeUnit enum in configuration