Map<String, Object> get toDictionary { return { "data": data, "timestamp": timestamp, "sender": device.toDictionary }; }