Revert "Array to hash added"

This reverts commit a8d19b53bede5bd6e67139676b063dfdacf92c54.