ID#218: updated migration script to cover array-style registration of tags.