process json response before raising errors
fix validation errors