json-response: server.hs can now create Session structures.