Serialize pandas timestamps