improve oneOf handling for examples