Minor refactor JSON log transport