switched to using aeson, generic json decoding, and finished basic parsing from base-64 encoded JSON