Let the user specify a typename in `New-PSFormatXML`. If no typename is specified then use the typename of the inputobject.