extract_all_tags function

Extract tagged metadata from a SQL chunk