Use the jsonDecoder itself for serialization