code: public function deserialize($data, array $options = [])
      {
          if (!is_array($data)) {
              try {
                  $data = Yaml::parse($data);
              } catch (\Exception $e) {
                  throw new DeserializeMessageFailed($e->getMessage(), 0, $e);
              }
          }
  
          return parent::deserialize($data, $options);
      }
docs: {@inheritdoc}
  
  @return Message