Adding support for arrays to deep merge