find all shelly devices in network and return result as json
nmap -T5 --min-parallelism 100 -p 80 --open 192.168.3.20-255 -oG - | grep -i "shelly" | grep "Status: Up" | awk 'BEGIN {print "["} {gsub(/[()]/, "", $3); printf "%s{\"ip\": \"%s\", \"name\": \"%s\"}", separator, $2, $3; separator=","} END {print "]"}' | jq