Bump text and aeson versions

Some tweaks to get things to compile again.  Some ByteString JSON
instances have gone missing in the latest aeson, so work around that.
Still passes unit tests, so should be fine for this rarely used
feature.
Version bump