mongoose: fixed issue with schema fields being copied to model