Replacing json with aeson, and HDBC with mysql-simple