script to get the som data into hexgrid json format

this uses quite a few callbacks, multi-exec prepared statements, and
helper classes to get the data into the right format for display.