fixes to better handle anyOf and nested enumeration (items.enum)

1 job for main in 31 seconds