tags-mgmt: fix mismatched free()/g_free()
mpris: roll registration ids into array