import json


def normalize_table_options(table_options):
    """Normalize autovaccume_tune_schema table_options to dict type."""
    if not table_options:
        table_options = {}
    elif isinstance(table_options, str):
        table_options = json.loads(table_options)
    return table_options