Fix hash output instead of array