That’s right. It’s because the json that’s returned from the service is an array of length 1. Therefore, $[0].name is the correct way to reference the name element of index 0 of the array.
The reason you got the original string is because $.id doesn’t properly reference index 0 of the array. And, the way the OH JSONPATH implementation works, when there’s no match, the original json string returned.
BTW, the link you posted above doesn’t work for me. Can you double check that that’s the right link?
Speaking of beer… I’m pretty sure Untappd has an API. It would be pretty cool to have openHAB announce what my friends are drinking by polling the friends activity feed.