web: serialize bean validation errors