fix handling of String assignable classes in commandlineparser