Fixed the Timestap representation to use the DateTime.Ticks instead of the plain json representation of the DateTime object

Fixed the Timestap representation to use the DateTime.Ticks instead of
the plain json representation of the DateTime object. This helps to
mitigate the problem of Timestamps being cut at the milliseconds level,
which can have negative impacts in very fast systems.