Changed to_msgpack to return a dict object rather than the
orderedDict that the tuple is converted too.