Parse the member value of a Collection response
        and returns the list of object while setting the graph
        relationship based on `direction`

        :param obj: PyLD parsed JSON+LD
        :param collection: Collection attached to the member property
        :param direction: Direction of the member (children, parent)

def parse_member(
            cls,
            obj: dict,
            collection: "DtsCollection",
            direction: str,
            **additional_parameters) -> List["DtsCollection"]:
        """ Parse the member value of a Collection response
        and returns the list of object while setting the graph
        relationship based on `direction`

        :param obj: PyLD parsed JSON+LD
        :param collection: Collection attached to the member property
        :param direction: Direction of the member (children, parent)
        """
        members = []

        for member in obj.get(str(_hyd.member), []):
            subcollection = cls.parse(member, **additional_parameters)
            if direction == "children":
                subcollection.parents.update({collection})
            members.append(subcollection)

        return members