Added serialization to ResultData. Added a test for this in the client and the server.