moving fields to mongoid