ejson improvements in logging