[Haskell-beginners] How to "cast" FromJSON instance value