title: Convert single entity to an array
body: <p>What is the most efficient way to convert my Symfony2 entity to an array ? Entity contains protected fields with setters/getters. Is it possible to do with <code>JMSSerializer</code> ?</p>