Tee command for JSON logs