As per API resource doc,
https://developer.companieshouse.gov.uk/api/docs/search/OfficerSearch-resource.html
items[].matches[] is of type List(Array)
But API response delivers ‘object’.
"matches": {
"snippet": [
9,
17
],
"title": [
1,
9
]
}