private void copyNames(Map<String, Object> map, VCard card) {
    String givenName = (String) map.get("givenName");
    String surname = (String) map.get("surname");
    StructuredName structuredName = new StructuredName();
    structuredName.setFamily(surname);
    structuredName.setGiven(givenName);

    getString("middleName", map).ifPresent(v -> structuredName.getAdditionalNames().add(v));

    getString("title", map).ifPresent(v -> structuredName.getPrefixes().add(v));

    card.setStructuredName(structuredName);

    getString("displayName", map).ifPresent(card::setFormattedName);

    getString("nickName", map).ifPresent(card::setNickname);
  }
Transforms from a Microsoft Graph contacts resource to a VCard as defined by
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/contact.

<p>TODO: Handle contact lists (folders)
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/transformer/contacts/ToVCardTransformer.java