Fix typo
Refactor struct populate
Support string arrays in flag source
Support int/uint array types