Fix issue with loss of ms resolution

Fix epoch ms to standardized timestamp conversion to avoid loss of ms resolution.