Make configuration object Serializable