Make Logs serializable