danilovl/object-to-array-transform-bundle (packagist): Symfony bundle provides convert object to an array by configuration fields.
Keywords: symfony|php|bundle