title: Access the SerializedName of a object property defined by Annotation
body: <p>I have a model, which is using the JMS Serializer for Annotations of it's properties. 
  In another class where I use this object I would like to access the information in the annotations. 
  Example:</p>
  
  <pre><code>class ExampleObject
  {
      /**
      * @var int The status code of a report
      *
      * @JMS\Expose
      * @JMS\Type("integer")
      * @JMS\SerializedName("StatusCode")
      * @Accessor(getter="getStatusCode")
      */
      public $statusCode;
  
  }
  </code></pre>
  
  <p>As you can see the property is named in camelcase style, which is ok for our coding standards. But for passing the information in this  object on to an external service I need the the SerializedName.</p>
  
  <p>So my idea is to write an method in this class which gives me for every property the SerializedName from the Annotation back. Is it possible to access the information in the annotation via a method? If yes how?</p>
  
  <p>My idea is something like:</p>
  
  <pre><code>public function getSerializerName($propertyName)
  {
      $this-&gt;$propertyName;
      // Do some magic here with the annotation info
      return $serializedName;
  }
  </code></pre>
  
  <p>So the "magic" part is where I need some help. </p>