prune out mongoose validators in stripTree