If you're still free to change the API, I think it could be a good strategy to make hopping from kotlinx.serialization to your library and back again an easy process.
That's how Kotlin succeeded in taking over Java in many legacy projects. Except there, no serialization solution is really comparable to Java 😅