bugfix: exclude ApiStruct.__name__ when convert encoding