Fix for array

Use list for representing array. It is difficult for support
libbun requirements if we use vector as array.