Base to format as json. Need test and need to add the logger name.