A distributed digital object architecture to support secure IoT ecosystems