hash deep_transform considering arrays