replace Ok by BadRequest when Json validation fail