support mongoid 3 yaml format