                entityLinks = linkedEntity.links where entityLinks.count > 0 {
             data["links"] = entityLinks.serialize()
         }
+        
+        let excludedKeys: Set<String> = ["id", "links", "topLinks"]
         
         for child in mirror.children {
             if let label = child.label {

        
        return includedRelationships.count > 0 ? includedRelationships : nil
    }
    
    private static var excludedKeys: [String] {
        return ["id", "links", "topLinks"]
    }
}

                        
                        relationships[label] = relationship
                    }
                } else if includeAttributes && !excludedKeys.contains(label)  {
                    if let value = child.value as? Serializable {
                        attributes[label] = value.serialize()
                    } else {
