Ecnocde dumpled messages as json, other improvements