Amendments to the main nav array to turn it into an array of objects