Add method to compute the difference of multidimensional arrays with additional index check.
Fix processing 'hash' type in 'dehydrate' method.