Ensure ORM is available 

Update configuration to have default value for infer_types_from_doctrine_metadata be based off if the ORM version class exists since the Doctrine bundle may exist without using the ORM as it's assumed to be available in the JMSSerializerExtension class