Use object2dict to get properties too
Do not log mongo config
Fix name of attr