read json messages sent over xbee device, dedupe, and turn into HTTP request