public static string GetLastMeasurement(Session currentSession) { return JsonConvert.SerializeObject(currentSession.GetLastMeasurement()); }