fix db_dump
sql_import_json: use transactions