Enacted changes suggested by 5outh on /r/haskell; looking into Text instead of String as suggested by tWoolie