added type def to mongo bean constructor definitions
Merge branch 'feat/1731-mongo-log-warnings' into develop