A study enabling blockchain technologies in oneM2M IoT platform