def METHOD_NAME(users: Dict, target_group: str,
                      members: Optional[str] = None,
                      admins: Optional[str] = None,
                      group_id: Optional[str] = None) -> Dict:
    """Create group data which is isomorphic to a redis HSET i.e.: KEY,
    FIELD and VALUE.  If the group_id is not specified, a unique hash
    will be generated.
    The "field" return value is a unique-id that is used to
    distinguish the groups.
    Args:
      - users: a list of users for example:
      {'8ad942fe-490d-453e-bd37-56f252e41603':
      '{"email_address": "me@test.com",
        "full_name": "John Doe",
        "organization": "Genenetwork",
        "password": {"algorithm": "pbkdf2",
                     "hashfunc": "sha256",
                      "salt": "gJrd1HnPSSCmzB5veMPaVk2ozzDlS1Z7Ggcyl1+pciA=",
                      "iterations": 100000, "keylength": 32,
                      "created_timestamp": "2021-09-22T11:32:44.971912",
                      "password": "edcdaa60e84526c6"},
                      "user_id": "8ad942fe", "confirmed": 1,
                      "registration_info": {
                          "timestamp": "2021-09-22T11:32:45.028833",
                          "ip_address": "127.0.0.1",
                          "user_agent": "Mozilla/5.0"}}'}
      - target_group: the group name that will be stored inside the
        "groups" hash in Redis.
      - members: an optional comma-separated list of values that
        contain members of the `target_group` e.g. "me@test1.com,
        me@test2.com, me@test3.com"
      - admins: an optional comma-separated list of values that
        contain administrators of the `target_group`
        e.g. "me@test1.com, me@test2.com, me@test3.com"
      - group_id: an optional unique identifier for a group. If not
        set, a unique value will be auto-generated.
    Returns:
      A dictionary that contains the following keys: "key", "field",
    and "value" that can be used in a redis hash as follows: HSET key
    field value
    """
    # Emails
    _members: Set = set("".join(members.split()).split(",")
                        if members else [])
    _admins: Set = set("".join(admins.split()).split(",")
                       if admins else [])
    # Unique IDs
    member_ids: Set = set()
    admin_ids: Set = set()
    for user_id, user_details in users.items():
        _details = json.loads(user_details)
        if _details.get("email_address") in _members:
            member_ids.add(user_id)
        if _details.get("email_address") in _admins:
            admin_ids.add(user_id)
    timestamp: str = datetime.datetime.utcnow().strftime('%b %d %Y %I:%M%p')
    return {"key": "groups",
            "field": (group_id or str(uuid.uuid4())),
            "value": json.dumps({
                "name": target_group,
                "admins": list(admin_ids),
                "members": list(member_ids),
                "created_timestamp": timestamp,
                "changed_timestamp": timestamp,
            })}