Updated extension that fixes the multi-counting bug.
JSON endpoint + some basic version checking from the extension. Will clobber the datastore after this push.