Fix for  #1 - JMS\Serializer not well implemented #1