allows for Python/Go/etc style negative array index access
a negative array index will be counted from the end of the array
for example the map { "results[-1].id": "lastId" } will map the id of the last result to lastId
a negative array index whos absolute value is greater than the arrays length returns undefined
while this doesn't work the other way ({ "lastItem": "items[-1]" }), the result of that sort of mapping is unchanged, and so no new surprising behaviors are introduced by this change
{ "results[-1].id": "lastId" }
will map the id of the last result tolastId
{ "lastItem": "items[-1]" }
), the result of that sort of mapping is unchanged, and so no new surprising behaviors are introduced by this change