Add an optional function to convert the received JSON data

My autosuggestion data comes back from a Solr server, which has its own, very particular format.  I would like to add a function to convert it into the simplified format.  This patch should do the trick.

Thanks for the great plugin!  :)