nsq_to_nsq: refactor filtering using go-simplejson to work for both go1.0.x and go1.1+