Added Json deserialization of measurements