Given an array or object and a JSON path to certain value inside it, the PICK function picks this value and returns it.
Takes 2 arguments, the array / object and the path.
The first argument must be a variable or another function returning the object or array.
The second argument must be a string specifying JSON path to the desired string values.
The json path is simply the sequence of keys separated by dots. You can access elements in an array by writing the index of the element in square brackets behind the key pointing to that array. Note that elements in an array are indexed from 0! For example, animals points to the first element of the animals array.