Do not export id if instance is not persisted