code: def perturbed_contents(self):
          
          animal = json.loads(self.contents)
  
          for prop, prop_range in self.properties.items():
              range = prop_range[1] - prop_range[0]
              jittered = animal[prop] + random.gauss(0, 0.1 * range)
              animal[prop] = max(min(jittered, prop_range[1]), prop_range[0])
  
          return json.dumps(animal)
docs: Perturb the given animal.