pub fn amendment_from_json(text: &str) -> Result<LicenceAmendment, LicenceError>
Parse an amendment from JSON.