Added the possibility to override the default QueryMapEncoder by defining a custom one in the ApplicationContext.