Support for serialising Haskell to and from JSON
