internal/storetesting: add YAMLEquals checker

We want this for checking YAML output elsewhere.