Issue #2986735 by phenaproxima, Berdir, tim.plunkett, MegaChriz: Drupal\Core\Plugin\Context\Context needs DependencySerializationTrait (cherry picked from commit b1ad4a8d)