This is wrong currently as this bundle is not yet updated for JMSSerializer (see #106 for the WIP)