Create ResponseConfig from array using Symfony/OptionsResolver component