adding MODMinKey and MODMaxKey from objects to bson