Switched Dictionary to be serializable dictionary