Bean validation needs to be optional