Added support to Nullable annotation

Now the type property can be a string or an array