I will investigate this weekend if I have time.
BTW, is this really a problem caused by kotlin-module?
If it can be reproduced only in Java, the problem is most likely caused by databind or xml-module.
If so, there is nothing kotlin-module can do to fix it.
Submitting the issue to the appropriate module will increase the probability that it will be resolved.