Fix dynamic_template ordering to apply specific mapping for all tags.name* fields