code: def _read_dict(self, dictionary):
          
          values = dictionary
          self._did = values['id']
          self._created = values.get('created', None)
          if 'publicKey' in values:
              self._public_keys = []
              for value in values['publicKey']:
                  if isinstance(value, str):
                      value = json.loads(value)
                  self._public_keys.append(DDO.create_public_key_from_json(value))
          if 'authentication' in values:
              self._authentications = []
              for value in values['authentication']:
                  if isinstance(value, str):
                      value = json.loads(value)
                  self._authentications.append(DDO.create_authentication_from_json(value))
          if 'service' in values:
              self._services = []
              for value in values['service']:
                  if isinstance(value, str):
                      value = json.loads(value)
                  service = Service.from_json(value)
                  service.set_did(self._did)
                  self._services.append(service)
          if 'proof' in values:
              self._proof = values['proof']
docs: Import a JSON dict into this DDO.