initial commit - changing structure of payload to support XBeeAPI