Changed JsonMessagePacker to use MessageSerializer