Make Guid and Id serializable