Enable MapperFeature.ALLOW_VOID_VALUED_PROPERTIES. Below are the responses made on GitHub.
MapperFeature.ALLOW_VOID_VALUED_PROPERTIES
https://github.com/FasterXML/jackson-module-kotlin/issues/314#issuecomment-624960889