Custom (de)serialization for localdate