removes double encode from logger
adds type column to the logger
makes prettier example