Use tag names as array keys to facilitate manipulation