DRIVERS-2380: $lookup is now allowed with $documents instead of a collection
This ticket was split from DRIVERS-2380, please see that ticket for a detailed description.