added more verbose JSON output, validated, shows state of each switch. Can now change state of each switch

Signed-off-by: seannicholls <seannicholls@gmail.com>