Pickle dictionaries and save locally to speed up