Also clean up kotlinx.serialization versioning (cherry picked from commit 5ce64ac7ff05984d55a23f5c4edbde57ebc601f8)