fix dynamic array type names in generated types