def process(proc_data):
    """
    Final processing to conform to the schema.

    Parameters:

        proc_data:   (dictionary) raw structured data to process

    Returns:

        List of dictionaries. Structured data with the following schema:

        [
          {
            "group_name":    string,
            "password":      string,
            "gid":           integer,
            "members": [
                             string
            ]
          }
        ]
    """
    for entry in proc_data:
        int_list = ['gid']
        for key in int_list:
            if key in entry:
                try:
                    key_int = int(entry[key])
                    entry[key] = key_int
                except ValueError:
                    entry[key] = None
        if entry['members'] == ['']:
            entry['members'] = []
    return proc_data
