process array in client's packet code generation