json: If json is NULL, that's QEV_JSON_INVAL