The api_form require JMSSerializerBundle

The api_form require jms_serializer.metadata_factory service defined by JMSSerializerBundle
I think `serializer.xml` can be moved into condition below too