Backport to_h for Enumerable & Array