Minimal working version for decoding with aeson (in aeson.hs).