fix: compiling the json example

hello ! 

I had to modify slightly your json example so that it compiles with ghc 7.4.1 (on Debian /Linux).
Witch version of ghc are you using ?

Is there a simple way to give you a list of the dependencies with their version numbers as installed by cabal ?

regards,
Damien