ToggleAgent

Added json command to toggleAgent (See email for info)