Timestamps need to be encoded