         
         var convertedValues = ValuesObject()
         
-        /*
         // convert attributes
         for (key, attribute) in self.attributes {
             

            
            convertedValues[key] = value
        }
        */
        
        // convert relationships
        for (key, relationship) in self.relationships {
            
            if let jsonValue = JSONObject[key] {
                
                let convertedValue: Value
                
                switch relationship.type {
                    

                    
                    convertedValue = .Relationship(.ToMany(resourceIDs))
                }
            }
            
            else { convertedValue = .Null }
            
            convertedValues[key] = convertedValue
        }

        return convertedValues
