Had a little bit of fun today, for some reason accessing a dictionary object by substring did not return the correct object. So for future reference ALWAYS use
let photosarray = dictionary.value(forKey: “photos”)
Scratched my head about this for a few hours today. Accessing by “forKey” is the correct reference per the Apple documentation