Added support for merging array values