smuggler should filter out replication documents and remove replication metadata from all other docs