Separate out JSON parsing to unclutter activities.

Every time we need to parse JSON, we were going to have to add a bunch of
stuff to each activity. Until we are able to use pkgwat-scala, let's break
this out into its own file and import where we need it.