converted various json errmsgs to dbgmsgs