Could we simplify this block, instead of setting `out.familyName` and `out.givenName` in each if/else condition, we could have two arrays `familyNameOut` and `givenNameOut` and add components to those arrays, and at the end of the `if` just componse `out.familyName` and `out.givenName` with array join (also this would allow us to change even join string)