Fixed classcast exception as a result of AnnotationMethodHandlerAdapter ...

...returning an array of HttpMessageConverters, not a List

With an AnnotationMethodHandlerAdapter I run into a classcastException which says that a message converter cannot be cast to an ObjectMapper.
The reason is that AnnotationMethodHandlerAdapter returns an array for getMessageConverters and the overloaded registerModule(Object) kicks in.