added type mapping for array
Merge branch 'master' of github.com:mwaylabs/TMP2