Serialize object references as simple ids in specific cases - parent, tasklist