feat(mongo): use UNIX timestamp instead of datetime

Closes-Bug: #1222928

Change-Id: Ia352eb0643bfbc20b10cb965617c2e503e4966f5