Pass the local object context to valueIsAllowed and custom validators to make nested validation easier