change name of relationships.items from hasRelated to hasRelationship