Is there a way to serialize a map in Kotlinx-Serialization

@file:UseSerializers(LocalDateSerializer::class)

put this in the file where your object is declared it should use LocalDateSerializer every time it sees Local Date