I was not able to get the UDP protocol to work with the msgpack library, so I just ended up serializing it to JSON and it worked.  I think I went about this the right way, but please think about this one and let me know if this is ok.