fos_rest:
    serializer:
        serialize_null: true
    param_fetcher_listener: true
    body_listener: true
    format_listener: true
    view:
        view_response_listener: true
        formats:
            xml: true
            json: true
        failed_validation: HTTP_BAD_REQUEST
