Adds missing validation of raw JSON payload.