Fix bug in supersensor

jsondata was deleted too soon, before
we'd finished using it.