In the "getPages" method, every item should have a pagePath, no? What data does the `$items` array contain other then pages?