A mongo-native-driver scope constructor that enables use of complex object instances in map reduce functions.