<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>

        <parameter key="fos_rest.converter.request_body.class">FOS\RestBundle\Request\RequestBodyParamConverter</parameter>

    </parameters>

    <services>

        <service id="fos_rest.converter.request_body" class="%fos_rest.converter.request_body.class%">
            <argument type="service" id="jms_serializer"/>
            <tag name="request.param_converter" converter="fos_rest.request_body" />
        </service>

    </services>
</container>

<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>

        <parameter key="fos_rest.converter.request_body.class">FOS\RestBundle\Request\RequestBodyParamConverter</parameter>

    </parameters>

    <services>

        <service id="fos_rest.converter.request_body" class="%fos_rest.converter.request_body.class%">
            <argument type="service" id="fos_rest.serializer"/>
            <tag name="request.param_converter" converter="fos_rest.request_body" />
        </service>

    </services>
</container>

Use the configured serializer instead of hardcoding jms_serializer
Use the configured serializer instead of hardcoding jms_serializer
