[VarDumper] allow overridding of dumped type