Fixes issue #388 for collections.
The ComposedSchema part of setNullableByNotNullAnnotations
is not currently useful, as for e.g. a custom bean, the generic parameter is not included in the generated typescript.
Perhaps it will be useful at some point in the future, however.
This change is 