simplify jsonQuery a little