omit empty replica set-related fields