Add ability to serialize FileActionMapper to a dict and recover.