public static function initialize(Config $config) { $config->addSerializers([new Json('responseData')]); }