store data into a pickled dictionary