WIP: Temporary changes.
ENH: Rewrote the JSON handling with aeson (and learned a lot about Haskell while doing this).