Turned example code into test
Now supporting aeson 0.7; removed the Json instances for the ByteString types