How to use custom DateTimeConverter for selected endpoints? - C#