Normalize hash to fit Haskell-side need