Yeah, this is the one.
At least all parts of it that directly touches the mongoclient layer should be moved to our mongoBackend library.
Not necessarily in this PR.