added wrapper to trap invalid JSON
added more logging
configured to emit logging messages from DBH and DAO