Use Clean and ToJson for the crate