I have an array of objects, each containing a path property which holds the value of "paths" to which I\'d like to map the array elements to.