get dat dumper fully building on msvc, had to conver 255 if else chain to switch case