[VarDumper] polymorphic and stateless output selection