commented it up!
added JSON lib for real json support
stop recursing if subscriber disconnects