Replace Array with Object
From CSSEMediaWiki
An array where certain elements mean different things, for example it may contain a name and a number relating to that name as seperate elements, would be more appropriately represented as an object.
This object, with names and fields representing the actual elements, will be much easier to use and you wont have to remember things like "First value in the array is a name, second is the date relating to that name".
See Also