the jsonstore class needs some work, it seems

the StateStore isn't storing new states which is confusing at best.