flattening replication topology, renamed from ReplicationSchemaDiscoverer to ReplicationTopologyDiscoverer