text sanitization: capitalizing the names and replacing dashes with spaces.