IDP-571 we met a nasty issue with the name="whatever" attribute in an attribute encoder destroying any attribute definition with this name.
We reported this to Spring as https://jira.spring.io/browse/SPR-12643 and they fixed this in 4.1.5
Now we are up to 4.1.5 we should remove the workaround and use the tool they provided.
I have coded this (add 3 lines, remove 5) and tested that it works OK.
Do we want this in 3.1? If so comment below and I'll push the change.