The api_form require JMSSerializerBundle

The api_form require jms_serializer.metadata_factory service defined by JMSSerializerBundle