The new expression language function Arrays.toCsvString(array) converts an array to a comma-delimited string. For example:
Arrays.toCsvString({"This", "is", " a ", "test"}) returns This,is, a ,test
self and next were returned with incorrect values. (OKTA-111350)