Moved to pickle from marshal for dicts