api_form and serializer require JMSSerializerBundle

The api_form require jms_serializer.metadata_factory service defined by JMSSerializerBundle
Indeed, i moved it into condition.