Robust contracts needed for IOT ecosystems, lawyer says