Corrected example JSON for grouped results

The js code example for grouped results expects groups to have a 'name', not a 'text', as provided in the JSON example. I slipped up on this as I built my server-side code to feed JSON matching the example.