mustache implementation in Haskell