Deserialize ExportSpecTopType and PromotedTopType.