title: JMS Serializer Bundle ignores Entity mappings
body: <p>I have my <code>Entity.Project.yml</code> file in <code>My/NamedBundle/Resources/config/serializer/Entity.Project.yml</code></p>
  
  <pre><code>My\NamedBundle\Entity\Project:
      exclusion_policy: ALL
      properties:
          id:
              exclude: true
              type: integer
  </code></pre>
  
  <p>This is completely ignored and all attributes are being expose during serialization. What have I missed?</p>
  
  <p>The documentation on this part seems vey lacking with no real example to the naming scheme used for the file or the contents of the yml file itself.</p>
  
  <p>I have cleared the cache 100s of times trying to get this to work.</p>
  
  <pre><code>$project = $repo-&gt;find(1);
  $serializer = SerializerBuilder::create()-&gt;build();
  $json = $serializer-&gt;serialize($project, 'json');
  </code></pre>
  
  <p>Updating to the container serializer results in an error</p>
  
  <pre><code>$serializer = $this-&gt;get("jms_serializer")
      -&gt;configureListeners(function(EventDispatcher $dispatcher) {
          $dispatcher-&gt;addSubscriber(new MySubscriber($this-&gt;container));
      })
      -&gt;addDefaultListeners()
      -&gt;build();
  </code></pre>
  
  <blockquote>
    <p>Attempted to call method "configureListeners" on class "JMS\Serializer\Serializer"</p>
  </blockquote>