mongo config to param