def __parse(self, stream):
        if not stream:
            raise InvalidFormatError(cause="stream cannot be empty or None")
        json = self.__load_json(stream)
        self.__parse_organizations(json)
        self.__parse_identities(json)
        self.__parse_blacklist(json)