Changed DateTime serialization to longs.