Logging json requests, renaming logAllTransactions to logSqlTransactions

Adding json logging for #89