There was a discussion a while ago, how to do nested array. There isn't really an optimal practical way yet. So it depends on your needs.