improve jsonparser context testing