Honestly saying I copy\pasted it from other Provider code.

I dont think we need `array_walk_recursive` here as the array created few lines above and it contains scalars.