Extract tags from resources