migrate mongodb config numbers to ints