added support for model with arrays of strings