mongoose schema inheritance and discriminator key extension