def strip_quotes(mmcif_dict):
    """Goes through each table in the mmcif ``dict`` and removes any unneeded
    quote marks from the cells.

    :param dict mmcif_dict: the almost finished .mmcif dictionary to clean."""
    for name, table in mmcif_dict.items():
        for row in table:
            for k, value in row.items():
                for char in '\'"':
                    if value[0] == char and value[-1] == char:
                        row[k] = value[1:-1]
                    row[k] = row[k].replace('\x1a', '"').replace('\x1b', "'")
