mongodb initial conversion