The locality in the latest version of Address is also an array and not a string. So we also have to extract the name and code from that array, the same as with country.
Patch attached.
Closed: cannot reproduce
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.