Finalize manual json with double dashes
Turn off notificationmode and end of auto mode