tell mongoose to convert record to obj