docs: def from_dict(d):
          """Transform the dict to a response object and return the response."""
          warnings_ = d.get('warnings', [])
          query = d.get('query') or None
          if query:
              query = Person.from_dict(query)
          person = d.get('person') or None
          if person:
              person = Person.from_dict(person)
          records = d.get('records')
          if records:
              records = [Record.from_dict(record) for record in records]
          suggested_searches = d.get('suggested_searches')
          if suggested_searches:
              suggested_searches = [Record.from_dict(record) 
                                    for record in suggested_searches]
          return SearchAPIResponse(query=query, person=person, records=records, 
                                   suggested_searches=suggested_searches,
                                   warnings_=warnings_)