Fixed array generation for strings and enums
Merge pull request #1 from darkFunction/master

Fixed array generation for strings and enums