def METHOD_NAME(self, filepath, *args, **kwargs):
    with open(filepath, encoding='utf-8') as f:
        json_spec = json.load(f)
    json_spec['config']['filters'] = clean_filters(json_spec)
    json_spec['config']['columns'] = clean_columns(json_spec)
    json_spec['config'] = order_dict(json_spec['config'], [
        'title', 'description', 'visible', 'aggregation_columns', 'filters',
        'columns', 'sort_expression', 'configured_charts',
    ])
    json_spec = order_dict(json_spec, [
        'domains', 'server_environment', 'report_id', 'data_source_table', 'config',
    ])
    with open(filepath, 'w', encoding='utf-8') as f:
        f.write(str(json.dumps(json_spec, indent=2)))
    print(textwrap.dedent("""
        Wrote those changes to the existing file.
        Be sure to manually inspect it before committing these changes.
        Consider also adding a detailed description to this config.
    """))