support array tags, closes #42