logger: json format for logging
logger: selectable log format