Confluent MongoDB Atlas Source vs MongoDB Source Connector

I was using Confluent Cloud Atlas Source Connector which is dumping JSON data to kafka having
clusterTime as epochMillis
but when I am using MongoDB Source Connector it is giving in below format.
"clusterTime": { "$timestamp": { "t": 1674202191, "i": 1 } }

Same goes for other date fields. Can someone know How to make it similar as Atlas Source Connector produces ?

This might have to do with how you set your Output Kafka Record format

What is your configuration setting?