Corrected JSON queries