created extract_messages function for vocabularies json