I remember reading somewhere in the mongoose docs that you cannot have a field named “type” without jumping through some hoops