removed sqlite3 for local topology saving. using SafeJsonFile