json_logger rework WIP