Issue #2208633 by sun: Add a Yaml class to Drupal\Component\Serialization.