fix autocomplete JSON parsing

Some server-side change to the API output seems to have occurred.

Also, limit the number of results in the autocomplete dropdown to 22.
updates for 1.1.0.1