Configurable array key

Let the user choose wether to use the uuid or the path of the node as an array key. This PR includes no BC break