Fixed problem with fields named 'type'.
Fixed problem with fields named 'type'.

ajrulez/mongoose-gen,ennosol/mongoose-gen,ennosol/mongoose-gen,topliceanu/mongoose-gen,topliceanu/mongoose-gen,ajrulez/mongoose-gen