Pickling lookup fix hack. Action types as a dict.