Working on making the server interactions compatible with JSON