Refactor meta_data_tags helper