title: What is the expected metadata for my entity class for serializer to work?
body: <p>I am trying to configure JMS/Serializer to exclude properties of my entities.</p>
  
  <p>Yet I am stuck at following exception:</p>
  
  <pre><code>Expected metadata for class My\FooBundle\Entity\Asset to be defined in ~/src/test/src/My/FooBundle/Resources/config/serializer/Entity.Asset.yml.
  </code></pre>
  
  <p>What is the expected metadata I need to define there?</p>
  
  <p>My <code>Entity.serializer.yml</code> consists only of</p>
  
  <pre><code>Asset:
      exclusion_policy: ALL
  </code></pre>