Converted array into hash