jsoninfo: move some variables around