format_gwt function

Convert possible B_GWL_CLASS values to standardized values